//
//  TableShowCollectionViewCell.swift
//  jhf
//
//  Created by 计海峰 on 2021/10/13.
//  Copyright © 2021 CocoaPods. All rights reserved.
//

import UIKit
import RxSwift
import RxDataSources

// MARK: - cell
public class TableShowCollectionViewCell: UITableViewCell, CollectionEnableProtocol {
    
    //MARK: -  属性
    let stepBag = DisposeBag()
    
    //MARK: -  初始化
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        layoutViews()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    //MARK: - CollectionEnableProtocol
    public override func bindTo(_ info: Any?) {
        self.info = info
        loadData()
    }
    
}
